<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:widget="http://www.netvibes.com/ns/">
<head>
<meta name="author" content="Mahin" />
<meta name="description" content="Activity Tracker" />
<meta name="apiVersion" content="1.0" />
<meta name="autoRefresh" content="200" />
<meta name="debugMode" content="true" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Expires" content="" />
<meta name="inline" content="true" />
<widget:preferences>
  <preference name="prjs" type="hidden" defaultValue="" />
  <preference name="alarmMin" type="hidden" defaultValue="" />
  <preference name="alarmVoice" type="hidden" defaultValue="" />
  <preference name="time" type="hidden" defaultValue="" />
  <preference name="ver" type="hidden" defaultValue="v0" />
</widget:preferences>
<title>Activity Tracker</title>
<link rel="icon" type="image/png" href="http://www.netvibes.com/favicon.ico" />
<style type="text/css">
.SZPMainCont {
	font-size: 11px;
	font-family: "Lucida Grande", Arial, "Trebuchet MS", Verdana, sans-serif;
	color: #454545;
	padding:1px 2px 2px 1px;
}
.SZPMainCont a:link{
	text-decoration: none;
}
.SZPMainCont a:visited{
	text-decoration: none;
}
.SZPMainCont input[type=submit]{
	border:1px solid #000000;
	height: 15px;
	font-size: 9px;
}
.SZPMainCont .submit{
	border:1px solid #000000;
	height: 15px;
	font-size: 9px;
}
.SZPMainCont table{
	border-collapse:collapse;
	font-size: 12px;
}
.SZPMainCont th{
	background-color:#95B3DE;
	text-align:left;
	padding: 1px 1px 1px 10px;
	color: #ffffff;
	font-size: 11px;
}
.SZPMainCont td{
	padding: 1px 1px 1px 1px;
}
.SZPGray{
	color: #999999;
	font-size:9px;
}
.SZPbgrd{
	background-color: #e4ecec;
	padding: 2px 2px 2px 2px;
	border: 1px solid #cccccc;
}
.SZPTitle{
	font-size: 12px;
	font-weight:bold;
	overflow: hidden;
}
.SZPEditCont{
	background-color: #e4ecec;
	padding: 2px 5px 2px 5px;
}
.SZPEditCont td{
	border-bottom:0px solid #ccc;
}
.SZPrjCont{
	border-bottom:1px solid #cccccc;
}
.SZPrjCont .SZPTitle{
	font-weight:bold;
}
.SZPrjShow{
	border-bottom:1px solid #cccccc;
	background-color:#eeeeee;
}
.SZPrjCont .SZPsub{
	display:none;
}
.SZPrjCont .SZPInTime{
	display:none;
}
.SZPrjShow .SZPsub{
	background-color:#eeeeee;
}
.SZPrjShow .SZPInTime{
	display:none;
}
.SZPrjIn{
	border-bottom:1px solid #ccc;
	background-color:#fff8c6;
}
.SZPrjIn .SZsub{
	background-color:#fff8c6;
}
.SZPrjIn .SZPlink{
display:none;
}
.SZPrjIn .SZPEdit{
	display:none;
}
.SZPin{
width:55px;height:20px;background-color:#00FF00;font-size: 9px;
}
.SZPout{
width:55px;height:20px;background-color:#FF0000;font-size: 9px;
}
.SZPSmall{
	font-size:9px;
}
.SZPlog {
	font-size:9px;
	background-color: #ffffff;
}
.SZPlog td{
font-size:9px;
	border-bottom:2px solid #e4ecec;
}
.SZop {
	opacity: .3;
	filter: alpha(opacity=30);
}
</style>
<link rel="stylesheet" type="text/css" href="http://www.netvibes.com/themes/uwa/style.css" />
<script type="text/javascript" src="http://www.netvibes.com/js/UWA/load.js.php?env=Standalone"></script>
<script type="text/javascript">
var JSON=function(){var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\"":"\\\"","\\":"\\\\"},s={"boolean":function(x){return String(x);},number:function(x){return isFinite(x)?String(x):"null";},string:function(x){if(/["\\\x00-\x1f]/.test(x)){x=x.replace(/([\x00-\x1f\\"])/g,function(a,b){var c=m[b];if(c){return c;}c=b.charCodeAt();return "\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16);});}return "\""+x+"\"";},object:function(x){if(x){var a=[],b,f,i,l,v;if(x instanceof Array){a[0]="[";l=x.length;for(i=0;i<l;i+=1){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){if(b){a[a.length]=",";}a[a.length]=v;b=true;}}}a[a.length]="]";}else{if(x instanceof Object){a[0]="{";for(i in x){v=x[i];f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){if(b){a[a.length]=",";}a.push(s.string(i),":",v);b=true;}}}a[a.length]="}";}else{return;}}return a.join("");}return "null";}};return {copyright:"(c)2005 JSON.org",license:"http://www.crockford.com/JSON/license.html",stringify:function(v){var f=s[typeof v];if(f){v=f(v);if(typeof v=="string"){return v;}}return null;},parse:function(_12){try{return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(_12.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+_12+")");}catch(e){return false;}}};}();
var SZP={};SZP.ps=null;SZP.tmr=null;SZP.tblDnd=null;SZP.trim=function(s){if(s){return s.replace(/^\s+|\s+$/,"").replace(/([:"'\f\b\n\t\r])/gm,"");}else{return "";}};SZP.byId=function(_2){return document.getElementById(_2);};SZP.p=function(){this.id;this.name;this.pt;this.n="";this.tot=0;this.ty="o";this.log="";this.lg;};SZP.rstP=function(_3,_4){var _5=_3.id;_3.id=(new Date()).getTime()+_4;_3.pt=0;_3.n="";_3.tot=0;_3.ty="o";_3.lg=null;_3.log=null;var _6=SZP.byId(_5);var _7=SZP.dom(_3,_6.getAttribute("szi"),true);var _8=_6.nextSibling;var _9=_6.parentNode;_9.removeChild(_6);_9.insertBefore(_7,_8);if(SZP.tblDnd){SZP.tblDnd.initRow(_7);}};SZP.updVer=function(){if(SZP.ps&&SZP.ps.length>0){var _a=new Array(SZP.ps.length);var _b;for(var i=0;i<SZP.ps.length;i++){_b=new SZP.p();_b.id=SZP.ps[i].id;_b.pt=SZP.ps[i].pt;_b.name=SZP.ps[i].name;_b.tot=SZP.ps[i].tot;_b.ty=SZP.ps[i].ty;if(SZP.ps[i].log&&SZP.ps[i].log!=""){var _d=SZP.ps[i].log.split(":");var _e=new Array(_d.length-1);for(var j=0;j<_d.length-1;j++){var log=_d[j].split(" ");if(log[1]=="i"){_e.push([parseInt(log[0]),log[1],""]);}else{_e.push([parseInt(log[0]),log[1]]);}}_b.lg=_e;SZP.ps[i].lg='';}_a.push(_b);}SZP.ps=_a;var str=JSON.stringify(SZP.ps);SZP.ps=JSON.parse(str);SZP.sPrj();}};SZP.aP=function(){var d=SZP.byId(SZP.map("afd"));d.style.display="";SZP.byId(SZP.map("af")).name.focus();};SZP.nP=function(frm){var p=new SZP.p();if(frm.name.value.indexOf(":")>=0){alert(SZP.i18n("nValidChar",[":"]));return;}if(frm.name.value.indexOf(">")>=0){alert(SZP.i18n("nValidChar",[">"]));return;}p.name=escape(SZP.trim(frm.name.value));p.tot=0;p.ty="o";p.id=(new Date()).getTime();if(!SZP.ps){SZP.ps=new Array();}SZP.ps.push(p);SZP.sPrj();var d=SZP.byId(SZP.map("afd"));d.style.display="none";if(SZP.ps.length==1){SZP.rndr();}else{SZP.add(p);}SZP.adjH();frm.name.value="";};SZP.addC=function(){var d=SZP.byId(SZP.map("afd"));d.style.display="none";SZP.adjH();};SZP.getP=function(pid){if(SZP.ps&&SZP.ps.length>0){for(i=0;i<SZP.ps.length;i++){if(SZP.ps[i].id==pid){return SZP.ps[i];}}}return null;};SZP.rst=function(pid){var flg=confirm(SZP.i18n("rstWarn"));if(!flg){return;}var p=SZP.getP(pid);if(p){SZP.rstP(p,1);SZP.sPrj();SZP.rndr(false,p,false,true);SZP.adjAlrm();}};SZP.rmv=function(pid){var flg=confirm(SZP.i18n("rmvWarn"));if(!flg){return;}if(SZP.ps&&SZP.ps.length>0){for(var i=0;i<SZP.ps.length;i++){if(SZP.ps[i].id==pid){SZP.ps.splice(i,1);SZP.sPrj();SZP.rndr();SZP.adjH();break;}}}};SZP.tStr=function(_1e){if(_1e){var hr=Math.floor(_1e/3600000);_1e=_1e-(hr*3600000);var min=Math.floor(_1e/60000);return (hr>0?(hr==1?""+hr+"&nbsp;"+SZP.i18n("hour"):""+hr+"&nbsp;"+SZP.i18n("hours")):"")+" "+(min>0?(min==1?""+min+"&nbsp;"+SZP.i18n("min"):""+min+"&nbsp;"+SZP.i18n("mins")):"0&nbsp;"+SZP.i18n("min"));}return "0&nbsp;"+SZP.i18n("min");};SZP.mon=function(val){switch(val){case 0:return SZP.i18n("Jan");case 1:return SZP.i18n("Feb");case 2:return SZP.i18n("Mar");case 3:return SZP.i18n("Apr");case 4:return SZP.i18n("May");case 5:return SZP.i18n("Jun");case 6:return SZP.i18n("Jul");case 7:return SZP.i18n("Aug");case 8:return SZP.i18n("Sep");case 9:return SZP.i18n("Oct");case 10:return SZP.i18n("Nov");case 11:return SZP.i18n("Dec");}};SZP.dtDisp=function(_22){var d=new Date(_22);var t=" "+d.getDate()+"-"+SZP.mon(d.getMonth())+"-"+d.getFullYear();if(d.getHours()!=0||d.getMinutes()!=0){t=t+(d.getHours()>9?" "+d.getHours():" 0"+d.getHours())+":"+(d.getMinutes()>9?d.getMinutes():"0"+d.getMinutes());}return t;};SZP.ply=function(){var _25=SZP.gPrf("time","int");var _26=SZP.gPrf("alarmMin","int");if(_26&&_25){var now=(new Date()).getTime();var _28=Math.floor((now-_25)/60000);if(_28>=_26){var min=Math.floor(_28/_26);if(min<=0){min=1;}SZP.sPrf("time",(_25+(min*_26*60000)));var _2a=SZP.gPrf("alarmVoice","str");if(!_2a){_2a="meng.wav";}SZP.byId(SZP.map("ply")).innerHTML="<embed enablejavascript=\"false\" hidden=\"true\" width=\"0\" height=\"0\" autostart=\"true\" name=\"_ALaS2P\" id=\"_ALaS2P\"  src=\"http://www.screeperzone.com/static/"+_2a+"\"/>";}}};SZP.prjG=function(){if(SZP.ps&&SZP.ps.length>0){var p="";for(i=0;i<SZP.ps.length;i++){p=p+SZP.ps[i].tot+":"+SZP.ps[i].id+":"+unescape(SZP.ps[i].name)+">";}var frm=SZP.byId(SZP.map("prf"));frm.SZPP.value=p;d=new Date();frm.SZPTO.value=d.getTimezoneOffset();frm.SZPTM.value=d.getTime();frm.submit();}else{alert(SZP.i18n("notFound"));}};SZP.log=function(pid){var p=SZP.getP(pid);if(p){var log="";if(p.lg){var _30=p.lg;for(var i=0;i<_30.length;i++){if(_30[i][1]=="i"){log=log+_30[i][0]+" "+_30[i][1]+(_30[i][2]?(" "+_30[i][2].replace(/\s+/g,"*")+":"):" -:");}else{log=log+_30[i][0]+" "+_30[i][1]+":";}}}var frm=SZP.byId(SZP.map("lgf"));frm.SZPLog.value=log;frm.SZPT.value=p.tot;frm.SZPPN.value=unescape(p.name);var d=new Date();frm.SZPTO.value=d.getTimezoneOffset();frm.SZPTM.value=d.getTime();frm.submit();}else{alert(SZP.i18n("notFound"));}};SZP.rstA=function(){var flg=confirm(SZP.i18n("rstAllWarn"));if(!flg){return;}if(SZP.ps&&SZP.ps.length>0){for(i=0;i<SZP.ps.length;i++){var p=SZP.ps[i];SZP.rstP(p,(i+1));}SZP.sPrj();SZP.rndr();SZP.adjAlrm();}};SZP.ammO=function(){SZP.byId(SZP.map("ald")).style.display="";};SZP.almC=function(){SZP.byId(SZP.map("ald")).style.display="none";};SZP.almS=function(frm){SZP.sPrf("alarmMin",frm._aMin.value);SZP.sPrf("alarmVoice",frm._aVoice.value);SZP.sPrf("time",(new Date()).getTime());SZP.byId(SZP.map("ald")).style.display="none";};SZP.edtC=function(){SZP.rndr();SZP.byId(SZP.map("efd")).style.display="none";SZP.byId(SZP.map("m")).style.display="";SZP.adjH();};SZP.edt=function(pid,_38){var p=_38;if(!p){p=SZP.getP(pid);}if(p){var frm=SZP.byId(SZP.map("ef"));frm.pid.value=p.id;frm.name.value=unescape(p.name);var hr=Math.floor(p.tot/3600000);frm.hr.value=hr;var min=p.tot-(hr*3600000);min=Math.floor(min/60000);frm.min.value=min;SZP.popMon(frm.lmon);SZP.popMon(frm.imon);SZP.popMon(frm.omon);var _3d=SZP.byId(SZP.map("lgd"));_3d.innerHTML="None";var _3e=null;var _3f="";if(p.lg&&p.lg.length>=2){var _40=p.lg,_41=0,txt="",lgO,lgI;txt="<table width=\"100%\"><tbody>";for(var i=_40.length-1;i>=1&&_41<6;){lgO=_40[i];if(lgO[1]!="o"){i--;continue;}lgI=_40[--i];if(!_3e&&_3f==""){_3f=lgI[2];}if(!_3e){_3e=lgO[0];}txt=txt+"<tr><td width=\"2\"><a href=\"/\" onclick=\"SZP.delLog("+p.id+","+lgI[0]+"); return false;\">[X]</a>&nbsp;</td><td><b>In&nbsp; :</b> "+SZP.dtDisp(lgI[0])+"<br/><b>Out:</b> "+SZP.dtDisp(lgO[0])+"</td>";_41++;}txt=txt+"</tbody></table>";_3d.innerHTML=txt;}if(!_3e){SZP.byId(SZP.map("lpo")).style.display="none";}else{SZP.popDate([frm.ldate,frm.lmon,frm.lyear,frm.lhour,frm.lmin,frm.atime],_3e);SZP.byId(SZP.map("lpo")).style.display="";frm.lnote.value=_3f;}var _46=new Date();SZP.popDate([frm.idate,frm.imon,frm.iyear,frm.ihour,frm.imin],_46.getTime());SZP.popDate([frm.odate,frm.omon,frm.oyear,frm.ohour,frm.omin],_46.getTime()+3600000);SZP.byId(SZP.map("efd")).style.display="";SZP.byId(SZP.map("m")).style.display="none";var _47=SZP.byId(SZP.map("ad"));if(_47.innerHTML==""){_47.innerHTML="<center><iframe src=\"http://www.screeperzone.com/static/adPCTimeManage.html\" width=\"195\" height=\"170\" frameborder=\"0\" scrolling=\"no\"></iframe><br/></center>";}SZP.adjH();}};SZP.edtS=function(frm){var p=SZP.getP(frm.pid.value);if(p){var hr=parseInt(frm.hr.value);var min=parseInt(frm.min.value);if((hr||hr==0)&&(min||min==0)){var tot=(hr*3600000)+(min*60000);if(p.tot!=tot){p.tot=tot;if(!p.lg){p.lg=new Array();}var d=(new Date()).getTime(),_4e=p.lg,_4f=false;for(var i=_4e.length-1;i>=0;i--){if(_4e[i][1]=="e"){_4e.splice(i+1,0,[tot,"e"]);_4f=true;break;}else{if(_4e[i][1]=="o"&&_4e[i][0]<=d){_4e.splice(i+1,0,[tot,"e"]);_4f=true;break;}}}if(!_4f){p.lg.push([tot,"e"]);}}}p.name=escape(SZP.trim(frm.name.value));SZP.sPrj();}else{alert(SZP.i18n("notFound"));}};SZP.addNote=function(_51,_52){var _53=SZP.getP(_51);if(_53){_53.n=SZP.trim(_52.value);SZP.sPrj();}else{alert(SZP.i18n("notFound"));}};SZP.delLog=function(_54,_55){var _56=SZP.getP(_54);if(_56){if(_56.lg){var _57=_56.lg;for(var i=_57.length-1;i>=0;i--){if(_57[i][0]==_55){var _59=_57[i+1][0];_56.tot=_56.tot-(_59-_55);_57.splice(i,2);SZP.sPrj();SZP.edt(null,_56);return;}}}}};SZP.svLLog=function(frm){var _5b=SZP.getP(frm.pid.value);if(_5b&&_5b.lg){var _5c=_5b.lg;for(var i=_5c.length-1;i>=0;i--){if(_5c[i][1]=="o"){var _5e=SZP.rdDate([frm.ldate,frm.lmon,frm.lyear,frm.lhour,frm.lmin,frm.atime]);if(_5e){if(_5c[i-1][0]>=_5e.getTime()){alert(SZP.i18n("outTime",[SZP.dtDisp(_5c[i-1][0])]));return;}_5b.tot=_5b.tot+(_5e.getTime()-_5c[i][0]);_5c[i][0]=_5e.getTime();_5c[i-1][2]=SZP.trim(frm.lnote.value);SZP.sPrj();SZP.edt(null,_5b);}return;}}}};SZP.svNew=function(frm){var _60=SZP.getP(frm.pid.value);if(_60){var _61=SZP.rdDate([frm.odate,frm.omon,frm.oyear,frm.ohour,frm.omin]);var _62=SZP.rdDate([frm.idate,frm.imon,frm.iyear,frm.ihour,frm.imin]);if(_61&&_62){if(_61.getTime()<=_62.getTime()){alert(SZP.i18n("outTime",[SZP.dtDisp(_62.getTime())]));return;}var _63=_61.getTime()-_62.getTime();if(_60.lg&&_60.lg.length>0){var _64=_60.lg,_65=null,_66=false,_67=null;frm.note.value=SZP.trim(frm.note.value);for(var i=_64.length-1;i>=0;i--){if(_64[i][1]=="o"){_67=i;if(_64[i][0]>_62.getTime()){_65=_64[i-1];continue;}else{if(!_65||_65[0]>=_61.getTime()){_64.splice(i+1,0,[_62.getTime(),"i",frm.note.value]);_64.splice(i+2,0,[_61.getTime(),"o"]);_60.tot=_60.tot+_63;_66=true;break;}else{alert(SZP.i18n("overlap",[SZP.dtDisp(_65[0])]));return;}}}}if(!_66){if(!_67){_64.push([_62.getTime(),"i",frm.note.value]);_64.push([_61.getTime(),"o"]);}else{if(_64[_67-1][0]<_61.getTime()){alert(SZP.i18n("overlap",[SZP.dtDisp(_64[_67-1][0])]));return;}else{_64.splice(_67-1,0,[_62.getTime(),"i",frm.note.value]);_64.splice(_67,0,[_61.getTime(),"o"]);}}_60.tot=_60.tot+_63;}}else{_60.lg=new Array();_60.lg.push([_62.getTime(),"i",frm.note.value]);_60.lg.push([_61.getTime(),"o"]);_60.tot=_60.tot+_63;}SZP.sPrj();SZP.edt(null,_60);return;}}};SZP.popMon=function(_69){if(_69.options.length<=0){var _6a=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var _6b=null;for(var i=0;i<_6a.length;i++){_6b=document.createElement("option");_6b.value=i;_6b.innerHTML=SZP.i18n(_6a[i]);_69.appendChild(_6b);}}};SZP.popDate=function(_6d,_6e){if(!_6e){_6e=(new Date()).getTime();}var _6f=new Date(_6e);_6d[0].value=_6f.getDate();_6d[1].selectedIndex=_6f.getMonth();_6d[2].value=_6f.getFullYear();_6d[3].value=_6f.getHours();_6d[4].value=_6f.getMinutes();if(_6d[5]){_6d[5].value=_6e;}};SZP.rdDate=function(_70){var day=parseInt(_70[0].value);if(!day||day<=0||day>31){alert(SZP.i18n("vdate"));return null;}var _72=parseInt(_70[1].value);var _73=parseInt(_70[2].value);if(!_73||_73<2007){alert(SZP.i18n("vyear"));return null;}var _74=parseInt(_70[3].value);if((!_74&&_74!=0)||_74<0||_74>23){alert(SZP.i18n("vhour"));return null;}var _75=parseInt(_70[4].value);if((!_75&&_75!=0)||_75<0||_75>59){alert(SZP.i18n("vmin"));return null;}var _76=null;if(_70[5]){var _77=parseInt(_70[5].value);if(_77){_76=new Date(_77);}}if(!_76){_76=new Date(0);}_76.setDate(day);_76.setMonth(_72);_76.setFullYear(_73);_76.setHours(_74);_76.setMinutes(_75);if(!_70[5]){_76.setSeconds(0);}return _76;};SZP.pin=function(pid){var p;if(SZP.ps&&SZP.ps.length>0){for(i=0;i<SZP.ps.length;i++){if(SZP.ps[i].id==pid){p=SZP.ps[i];}else{if(SZP.ps[i].ty=="i"){SZP.pout(0,SZP.ps[i]);}}}}if(p){p.pt=(new Date()).getTime();p.ty="i";SZP.sPrj();SZP.rndr(false,p);SZP.adjAlrm();}};SZP.adjAlrm=function(){var t=SZP.gPrf("time","int");if(t){var dt=(new Date()).getTime();if(t<dt){SZP.sPrf("time",dt);}}};SZP.pout=function(pid,p){if(!p){p=SZP.getP(pid);}if(p&&p.ty!="o"){var d=(new Date()).getTime();if(!p.lg){p.lg=new Array();p.tot=p.tot+d-p.pt;p.lg.push([p.pt,"i",p.n]);p.lg.push([d,"o"]);}else{var _7f=p.lg,_80=null,_81=false,_82=null;for(var i=_7f.length-1;i>=0;i--){if(_7f[i][1]=="o"||_7f[i][1]=="e"){if(_7f[i][1]=="o"){_82=i;}if(_7f[i][1]=="o"&&_7f[i][0]>p.pt){_80=_7f[i-1];continue;}else{if(!_80||_80[0]>=d){_7f.splice(i+1,0,[p.pt,"i",p.n]);_7f.splice(i+2,0,[d,"o"]);p.tot=p.tot+d-p.pt;_81=true;break;}else{alert(SZP.i18n("overlap"),[SZP.dtDisp(_80[0])]);_81=true;break;}}}}if(!_81){if(!_82){_7f.push([p.pt,"i",p.n]);_7f.push([d,"o"]);}else{if(_7f[_82-1][0]<d){alert(SZP.i18n("overlap",[SZP.dtDisp(_80[0])]));_81=true;}else{_7f.splice(_82-1,0,[p.pt,"i",p.n]);_7f.splice(_82,0,[d,"o"]);}}if(!_81){p.tot=p.tot+d-p.pt;}}}p.ty="o";p.pt=0;p.n="";SZP.sPrj();SZP.rndr(false,p,false,true);SZP.adjAlrm();}};SZP.clrL=function(pid){var flg=confirm(SZP.i18n("clogsWarn"));if(!flg){return;}var p=SZP.getP(pid);if(p){p.log="";p.lg=null;SZP.sPrj();}};SZP.clrA=function(){var flg=confirm(SZP.i18n("clrAllLogsWarn"));if(!flg){return;}if(SZP.ps&&SZP.ps.length>0){for(i=0;i<SZP.ps.length;i++){SZP.ps[i].log="";SZP.ps[i].lg=null;}SZP.sPrj();}};SZP.hide=function(_88){_88.parentNode.className="SZPrjCont";_88.onclick=function(){SZP.show(this);return false;};};SZP.show=function(_89){_89.parentNode.className="SZPrjShow";_89.onclick=function(){SZP.hide(this);return false;};};SZP.add=function(_8a){if(_8a){var _8b=SZP.dom(_8a,SZP.ps.length-1,true);var _8c=SZP.byId(SZP.map("m"));_8c.appendChild(_8b);var _8d=SZP.byId("f"+_8a.id);_8d.focus();if(!SZP.tblDnd){SZP.tblDnd=new SZP.DDrop();SZP.tblDnd.init(_8c.parentNode);}else{SZP.tblDnd.initRow(_8b);}}};SZP.dom=function(_8e,_8f,_90){if(_8e){var _91=document.createElement("tr");_91.id=_8e.id;_91.setAttribute("szi",_8f);var _92=document.createElement("td");var _93=document.createElement("div");var _94=document.createElement("table");_94.style.width="100%";if(_8e.ty=="i"){_93.className="SZPrjIn";}else{if(_90){_93.className="SZPrjShow";_94.onclick=function(){SZP.hide(this);return false;};}else{_93.className="SZPrjCont";_94.onclick=function(){SZP.show(this);return false;};}}var _95=document.createElement("tr");var td1=document.createElement("td");td1.style.overflow="hidden";td1.innerHTML="<div style=\"overflow:hidden;\"><a href=\"/\" title=\"delete\" onclick=\"SZP.rmv("+_8e.id+"); event.cancelBubble=true;return false;\">[X]</a>&nbsp;<span class=\"SZPTitle\">"+unescape(_8e.name)+"</span></div>";var td2=document.createElement("td");td2.align="right";if(_8e.ty=="i"){td2.innerHTML="<button class=\"SZPout\" onclick=\"SZP.pout("+_8e.id+");event.cancelBubble=true;\" ><b>"+SZP.i18n("OUT")+"</b></button>";}else{td2.innerHTML="<button class=\"SZPin\" onclick=\"SZP.pin("+_8e.id+");event.cancelBubble=true;\" ><b>"+SZP.i18n("IN")+"</b></button>";}_95.appendChild(td1);_95.appendChild(td2);var _98=document.createElement("tbody");_98.appendChild(_95);_94.appendChild(_98);var _99=document.createElement("td");_99.nowrap="nowrap";_99.width="100%";_99.onclick=function(_9a){if(!_9a){_9a=window.event;}_9a.cancelBubble=true;};_99.onmousedown=function(_9b){if(!_9b){_9b=window.event;}_9b.cancelBubble=true;};_99.innerHTML="<span class=\"SZPEdit\"><a href=\"/\" title=\"edit\" class=\"SZPSmall\" onclick=\"SZP.edt("+_8e.id+"); return false;\">"+SZP.i18n("edit")+"</a> | <a href=\"/\" title=\"log\" class=\"SZPSmall\" onclick=\"SZP.log("+_8e.id+"); return false;\">"+SZP.i18n("log")+"</a> | <a href=\"/\" class=\"SZPSmall\" title=\"clear logs\" onclick=\"SZP.clrL("+_8e.id+"); return false;\">"+SZP.i18n("clogs")+"</a> | <a href=\"/\" title=\"reset\" class=\"SZPSmall\" onclick=\"SZP.rst("+_8e.id+"); return false;\">"+SZP.i18n("reset")+"</a><br/></span><span class=\"SZPGray\">"+SZP.i18n("Started")+" : "+SZP.dtDisp(_8e.id)+"</span><span class=\"SZPGray SZPInTime\"><br/>"+SZP.i18n("intime")+" : "+SZP.dtDisp(_8e.pt)+"<form style=\"margin:0; padding:0;\" onsubmit=\"return false;\"><input type=\"text\" maxlength=\"50\" style=\"width:120\" value=\""+((_8e.n&&_8e.n.length>0)?_8e.n:"")+"\" onchange=\"SZP.addNote("+_8e.id+", this);\" /><input class=\"submit\" style=\"width:30\" type=\"submit\" value=\"Save\"/></form></span>";var _9c=document.createElement("td");_9c.align="right";if(_8e.ty=="i"){_9c.innerHTML="<strong>"+SZP.tStr(_8e.tot+((new Date()).getTime()-_8e.pt))+"</strong>";}else{_9c.innerHTML="<strong>"+SZP.tStr(_8e.tot)+"</strong>";}var _9d=document.createElement("tr");_9d.appendChild(_99);_9d.appendChild(_9c);var _9e=document.createElement("tbody");_9e.appendChild(_9d);var _9f=document.createElement("table");_9f.appendChild(_9e);var _a0=document.createElement("div");_a0.className="SZPsub";_a0.appendChild(_9f);_93.appendChild(_94);_93.appendChild(_a0);var _a1=document.createElement("a");_a1.id="f"+_8e.id;_a1.href="";_93.appendChild(_a1);_92.appendChild(_93);_91.appendChild(_92);return _91;}};SZP.swap=function(_a2,_a3){if(_a2==_a3||_a2==null||_a3==null){return;}var _a4=SZP.ps[_a2];if(_a4){SZP.ps.splice(_a2,1);SZP.ps.splice(_a3,0,_a4);SZP.sPrj();}};SZP.rndr=function(_a5,_a6,_a7,_a8){clearTimeout(SZP.tmr);SZP.tmr=setTimeout("SZP.rndr(true, null, true)",60000);if(_a6){var _a9=SZP.byId(_a6.id);var _aa=SZP.dom(_a6,_a9.getAttribute("szi"),_a8);var _ab=_a9.nextSibling;var _ac=_a9.parentNode;_ac.removeChild(_a9);_ac.insertBefore(_aa,_ab);if(SZP.tblDnd){SZP.tblDnd.initRow(_aa);}}else{if(_a7){if(SZP.ps&&SZP.ps.length>0){for(var i=0;i<SZP.ps.length;i++){if(SZP.ps[i].ty=="i"){var _ae=SZP.byId(SZP.ps[i].id);var _af=SZP.dom(SZP.ps[i],_ae.getAttribute("szi"));var _ab=_ae.nextSibling;var _ac=_ae.parentNode;_ac.removeChild(_ae);_ac.insertBefore(_af,_ab);if(SZP.tblDnd){SZP.tblDnd.initRow(_af);}break;}}}}else{if(SZP.ps&&SZP.ps.length>0){var _b0=document.createElement("tbody");_b0.id=SZP.map("m");_b0.style.display="";var _b1;for(var i=0;i<SZP.ps.length;i++){_b1=SZP.dom(SZP.ps[i],i);if(_b1){_b0.appendChild(_b1);}}var _b2=SZP.byId(SZP.map("mt"));_b2.removeChild(SZP.byId(SZP.map("m")));_b2.appendChild(_b0);SZP.tblDnd=new SZP.DDrop();SZP.tblDnd.init(_b2);}else{_a5=false;}}}if(_a5){setTimeout("SZP.ply()",3000);if(SZP.isUpdated("SZPPCNV")){SZP.byId(SZP.map("cont")).className="SZPMainCont SZop";}}};SZP.addEvent=function(obj,evt,fn){if(obj.addEventListener){obj.addEventListener(evt,fn,false);}else{if(obj.attachEvent){obj.attachEvent("on"+evt,fn);}}};SZP.rmvEvent=function(obj,evt,fn){if(obj.removeEventListener){obj.removeEventListener(evt,fn,false);}else{if(obj.detachEvent){obj.detachEvent("on"+evt,fn);}}};SZP.DDrop=function(){this.dO=null;this.mO=null;this.t=null;this.oldY=0;this.mE=null;this.uE=null;this.initRow=function(_b9){this.makeDraggable(_b9);};this.init=function(_ba){this.t=_ba;var _bb=_ba.tBodies[0].rows;for(var i=0;i<_bb.length;i++){this.makeDraggable(_bb[i]);}var _bd=this;this.mE=function(ev){if(_bd.dO){ev=ev||window.event;var _bf=_bd.mouseCoords(ev);var y=_bf.y-_bd.mO.y;if(y!=_bd.oldY){var _c1=y>_bd.oldY;_bd.oldY=y;_bd.dO.style.backgroundColor="#ffff99";var _c2=_bd.getTargetTR(y);if(_c2){if(_c1&&_bd.dO!=_c2&&_bd.dO!=_c2.nextSibling){_bd.dO.parentNode.insertBefore(_bd.dO,_c2.nextSibling);var _c3=_bd.dO.getAttribute("szi");if(_bd.dO.getAttribute("aszi")==null){_bd.dO.setAttribute("aszi",_c3);}_bd.dO.setAttribute("szi",_c2.getAttribute("szi"));_c2.setAttribute("szi",_c3);}else{if(!_c1&&_bd.dO!=_c2){var _c4=_c2.getAttribute("szi");if(_c4<_bd.dO.getAttribute("szi")){_bd.dO.parentNode.insertBefore(_bd.dO,_c2);_c2.setAttribute("szi",_bd.dO.getAttribute("szi"));if(_bd.dO.getAttribute("aszi")==null){_bd.dO.setAttribute("aszi",_bd.dO.getAttribute("szi"));}_bd.dO.setAttribute("szi",_c4);}}}}}return false;}};SZP.addEvent(this.t.parentNode,"mousemove",this.mE);this.uE=function(ev){if(_bd.dO!=null){var _c6=_bd.dO;_c6.style.backgroundColor="transparent";_bd.dO=null;_bd.onDrop(_bd.table,_c6);}};SZP.addEvent(this.t.parentNode,"mouseup",this.uE);};this.onDrop=function(_c7,_c8){SZP.swap(_c8.getAttribute("aszi"),_c8.getAttribute("szi"));_c8.removeAttribute("aszi");};this.getPosition=function(e){var _ca=0;var top=0;if(e.offsetHeight==0){e=e.firstChild;}while(e.offsetParent){_ca+=e.offsetLeft;top+=e.offsetTop;e=e.offsetParent;}_ca+=e.offsetLeft;top+=e.offsetTop;return {x:_ca,y:top};};this.mouseCoords=function(ev){if(ev.pageX||ev.pageY){return {x:ev.pageX,y:ev.pageY};}return {x:ev.clientX+document.body.scrollLeft-document.body.clientLeft,y:ev.clientY+document.body.scrollTop-document.body.clientTop};};this.getMouseOffset=function(_cd,ev){ev=ev||window.event;var _cf=this.getPosition(_cd);var _d0=this.mouseCoords(ev);return {x:_d0.x-_cf.x,y:_d0.y-_cf.y};};this.makeDraggable=function(_d1){if(!_d1){return;}var _d2=this;_d1.onmousedown=function(ev){ev=ev||window.event;_d2.dO=this;_d2.mO=_d2.getMouseOffset(this,ev);ev.cancelBubble=true;return false;};_d1.style.cursor="default";};this.getTargetTR=function(y){var _d5=this.t.tBodies[0].rows;var row,_d7,_d8;for(var i=0;i<_d5.length;i++){row=_d5[i];_d7=this.getPosition(row).y;_d8=parseInt(row.offsetHeight)/2;if(row.offsetHeight==0){_d7=this.getPosition(row.firstChild).y;_d8=parseInt(row.firstChild.offsetHeight)/2;}if((y>_d7-_d8)&&(y<(_d7+_d8))){return row;}}return null;};this.uninit=function(){SZP.rmvEvent(this.t.parentNode,"mousemove",this.mE);SZP.rmvEvent(this.t.parentNode,"mouseup",this.uE);};};SZP.uV=null;SZP.load=function(key){SZP.uV=SZP.gC(key);};SZP.isUpdated=function(key){var _dc=SZP.gC(key);if(SZP.uV&&_dc&&_dc!=SZP.uV){return true;}return false;};SZP.upd=function(key){var _de=new Date();var _df=_de.getTime();_de.setTime(_df+2592000000);SZP.sC(key,_df,_de);SZP.uV=_df;};SZP.sC=function(_e0,_e1,_e2,_e3,_e4,_e5){document.cookie=_e0+"="+escape(_e1)+((_e2)?"; expires="+_e2.toGMTString():"")+((_e3)?"; path="+_e3:"")+((_e4)?"; domain="+_e4:"")+((_e5)?"; secure":"");};SZP.gC=function(_e6){var _e7=_e6+"=";var _e8=document.cookie.indexOf(_e7);if(_e8==-1){return null;}var end=document.cookie.indexOf(";",_e8+_e7.length);if(end==-1){end=document.cookie.length;}var _ea=document.cookie.substring(_e8+_e7.length,end);return unescape(_ea);};
SZP.gPrf = function(key, type){
var val = widget.getValue(key);
if("int" == type){
if(val) return parseInt(val);
else return 0;
}
if("str" == type) return val;
return null;
}
SZP.sPrf = function(key, value){
widget.setValue(key, value);
}
SZP.ld = function(){
var jsonPrjs = SZP.gPrf('prjs', 'str');
if(jsonPrjs){
jsonPrjs = jsonPrjs.replace(/[\\]+/g, "");
SZP.ps = JSON.parse(jsonPrjs);
var ver = SZP.gPrf('ver', 'str');
if(!ver || ver=='v0'){
SZP.updVer();
SZP.sPrf('ver', 'v1');
}
SZP.rndr(true);
var t = SZP.gPrf('alarmMin', 'int');
if(t){
var os = SZP.byId(SZP.map('alf'))._aMin.options;
for(var i=0; i< os.length; i++){
if(os[i].value == t) os[i].selected = true;
else os[i].selected = false;
}
}
SZP.load('SZPPCNV');
}
}
SZP.sPrj = function(){
if(SZP.isUpdated('SZPPCNV')){
SZP.byId(SZP.map('cont')).className = 'SZPMainCont SZop';
alert('Updated in another browser window. Please REFRESH this page !');return;
}
SZP.sPrf('prjs', JSON.stringify(SZP.ps));
SZP.upd('SZPPCNV');
}
SZP.map = function(n){
switch(n){
case 'm': return '_main';
case 'mt': return '_mainT';
case 'afd': return '_addFrmDiv';
case 'af': return '_addFrm';
case 'efd': return '_edFrmDv';
case 'ef': return '_edFrm';
case 'ply': return '_plaY';
case 'msg': return '_msgDv';
case 'lgf': return '_logFrm';
case 'prf': return '_prjFrm';
case 'ald': return '_alarmDiv';
case 'alf': return '_alarmFrm';
case 'lgd': return '_edLogDv';
case 'ad': return '_edAdDv';
case 'lpo': return '_edLastDv';
case 'cont': return '_cont';

}
}
SZP.adjH = function(){
}
SZP.i18n = function(key, rv){
var vl = SZP.en(key);
if(rv && rv.length >0){
for(var i=0; i< rv.length; i++){
vl = vl.replace(new RegExp("@"+(i+1),"g"), rv[i]);
}
}return vl;
}
SZP.en = function(k){
switch(k){
case 'aevery': return 'Alert Every';
case 'nalert': return 'No Alert';
case 'fcurtime': return 'From Current Time';
case 'svoice': return 'Select Voice';
case 'tvoice': return 'Test Voice';
case 'fEng' : return 'Female (English)';
case 'mEng' : return 'Male (English)';
case 'fFrn' : return 'Female (French)';
case 'fGrmn' : return 'Female (German)';
case 'fSpn' : return 'Female (Spanish)';
case 'rstAll': return 'Reset All';
case 'rstAllWarn': return 'Are you sure you want to reset hours and logs for all activities ?';
case 'clrAllLogs': return 'Clear All Logs';
case 'clrAllLogsWarn': return 'Are you sure you want to clear logs for all activities ?';
case 'sdate': return 'Start Date';
case 'addnew': return 'Add New';
case 'clogs' :return 'clear logs';
case 'clogsWarn' : return 'Are you sure you want to clear logs for this activity?';
case 'rmvWarn' : return 'Are you sure you want to delete this activity?';
case 'rstWarn' : return "Are you sure you want to reset this activity's total hours ?";
case 'intime' : return 'In Time';
case 'nValidChar': return 'Invalid character "@1"';
case 'notFound': return 'Sorry ! Activity Not Found.';
case 'outTime': return 'Out time must be greater than In time "@1"';
case 'overlap': return 'Another log entry dated "@1" is overlapping with this timeslot. Discarding this entry.';
case 'vdate' : return 'Enter a valid date';
case 'vyear' : return 'Enter a valid year';
case 'vhour' : return 'Enter a valid hour';
case 'vmin' : return 'Enter a valid minute';
}
return k;
}
widget.onLoad = function() {
SZP.ld();
}
</script>
</head>
<body>
	<div id="_cont" class="SZPMainCont">
		<div id="" class="SZPSmall" style="background-color: #ffff99;">
			New Version 1.0 !. <a href="http://www.screeperzone.com" target="_blank">Click here for new features.</a>
		</div>
		<div align="right" style="border-bottom:3px solid #cccccc">
			<a href="/" class="SZPSmall" onclick="SZP.ammO();return false;">Alert</a>|&nbsp;<a href="/" class="SZPSmall" onclick="SZP.rstA();return false;">Reset All</a> |&nbsp;<a href="/" class="SZPSmall" onclick="SZP.clrA();return false;">Clear All Logs</a>|&nbsp;<a href="/" class="SZPSmall" onclick="SZP.prjG();return false;">Graph</a>|&nbsp;<a href="/" class="SZPSmall" onclick="SZP.aP();return false;" accesskey="N">Add New</a>
		</div>

		<div id="_alarmDiv" style="display:none" class="SZPbgrd">
		<form id="_alarmFrm" onsubmit="return false;">
			<div align="right"><a title="close" href="/" onclick="SZP.almC(); return false;" ><b>[X]</b></a></div>
			<table width="100%">
				<tr>
					<td  align="right">
						Alert Every&nbsp;
					</td>
					<td>
						<select name="_aMin" id="_aMin">
							<option value="0">No Alert</option>
							<option value="15">15 mins</option>
							<option value="30">30 mins</option>
							<option value="45">45 mins</option>
							<option value="60">1 hour</option>
							<option value="90">1.5 hour</option>
							<option value="120">2 hours</option>
							<option value="150">2.5 hours</option>
							<option value="180">3 hours</option>
							<option value="240">4 hours</option>
							<option value="300">5 hours</option>
							<option value="360">6 hours</option>
							<option value="420">7 hours</option>
							<option value="480">8 hours</option>
						</select>
						<div class="SZPGray">from current time</div>
					</td>
				</tr>
				<tr>
					<td align="right">
						Select Voice &nbsp;
					</td>
					<td>
						<select name="_aVoice" id="_aVoice">
							<option value="leng.wav">Female (English)</option>
							<option value="meng.wav">Male (English)</option>
							<option value="french.wav">Female (French)</option>
							<option value="german.wav">Female (German)</option>
							<option value="spanish.wav">Female (Spanish)</option>
						</select>
						<div class="SZPGray"><a href="http://www.screeperzone.com/static/voicetest.html" class="SZPSmall">Test Voice</a></div>
					</td>
				</tr>
				<tr>
					<td colspan="2"><center><input class="submit" type="submit" value="Save" onclick="SZP.almS(this.form);" /></center></td>
				</tr>
			</table>
		</form>
		</div>
		<span id="_plaY"></span>
		<div id="_addFrmDiv" style="display:none" class="SZPbgrd">
		<form id="_logFrm" action="http://www.screeperzone.com/punchclock/log.htm" method="post" target="_blank">
			<input type="hidden" name="SZPLog" value="" />
			<input type="hidden" name="SZPTM" value="" />
			<input type="hidden" name="SZPTO" value="" />
			<input type="hidden" name="SZPT" value="" />
			<input type="hidden" name="SZPPN" value="" />
		</form>
		<form id="_prjFrm" action="http://www.screeperzone.com/punchclock/graph.htm" method="post" target="_blank">
			<input type="hidden" name="SZPP" value="" />
			<input type="hidden" name="SZPTM" value="" />
			<input type="hidden" name="SZPTO" value="" />
		</form>
		<form id="_addFrm" onsubmit="return false;">
			<div align="right"><a title="close" href="/" onclick="SZP.addC(); return false;" ><b>[X]</b></a></div>
			<table width="100%">
				<tr>
					<td  align="right">
						Activity:
					</td>
					<td>
						<input type="text" value="" name="name" id="name"/>
					</td>
				</tr>
				<tr>
					<td colspan="2"><center><input type="submit" class="submit" value="Save" onclick="SZP.nP(this.form);" /></center></td>
				</tr>
			</table>
		</form>
		</div>
			<div id="_edFrmDv"  style="display:none" class="SZPEditCont">
				<div align="right"><a title="close" href="/" onclick="SZP.edtC(); return false;" ><b>[X]</b></a></div>
				<div id="_edAdDv"></div>
				<form id="_edFrm" onsubmit="return false;">


				<input type="hidden" name="pid" value="" />

				<!-- editing the hour and minutes -->
				<table width="100%">
					<tr>
						<td align="right">Activity: </td>
						<td><input type="text" name="name" value="" maxlength="50"/></td>
					</tr>
					<tr>
						<td align="right">hours: </td>
						<td><input type="text" name="hr" size="3" maxlength="7" value="" /> minutes: <input type="text" name="min" maxlength="7" value="" style="width:30px"/></td>
					</tr>
					<tr>
						<td colspan="2"><center><input type="submit" class="submit" value="Save" onclick="SZP.edtS(this.form);" /></center></td>
					</tr>
				</table>


				<!-- last 6 log activity -->
				<strong><span class="SZPSmall"><i>Last 6 logs</i></span></strong>
				<div class="SZPlog" id="_edLogDv">
				</div>

				<!-- last out time -->
				<div id="_edLastDv" style="border:3px solid #cccccc;" align="center">
				<span class="SZPSmall" >Last out time</span>
				<table>
					<tr>
						<td>
							<div class="SZPSmall">dd</div>
							<input name="ldate" type="text" value="" size="1" style="width:25px" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">MMM</div>
							<select name="lmon">
								<option value="0">Jan</option>
								<option value="1">Feb</option>
								<option value="2">Mar</option>
								<option value="3">Apr</option>
								<option value="4">May</option>
								<option value="5">Jun</option>
								<option value="6">Jul</option>
								<option value="7">Aug</option>
								<option value="8">Sep</option>
								<option value="9">Oct</option>
								<option value="10">Nov</option>
								<option value="11">Dec</option>
							</select>
						</td>
						<td>
							<div class="SZPSmall">yyyy</div>
							<input name="lyear" type="text" value="" size="2" maxlength="4"/>
						</td>
						<td>
							<div class="SZPSmall">HH</div>
							<input name="lhour" type="text" value="" size="1" style="width:25px" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">mm</div>
							<input name="lmin" type="text" value="" size="1" style="width:25px" maxlength="2"/>
							<input name="atime" type="hidden" value="" />
						</td>
					</tr>
					<tr>
						<td valign="top">
							<div class="SZPSmall">NOTE:</div>
						</td>
						<td colspan="4">
							<input name="lnote" type="text" value="" maxlength="50" style="width:100%"/>
							<div class="SZPSmall">clear logs weekly if you are adding notes</div>
						</td>
					</tr>
					<tr>
						<td colspan="5" align="center"><input type="submit" class="submit" value="Save" onclick="SZP.svLLog(this.form);"/></td>
					</tr>
				</table>
				</div>
				<br/>
				<div style="border:3px solid #cccccc" align="center">
				<span class="SZPSmall" >New Entry</span>
				<table>
					<tr>
						<td colspan="5" class="SZPSmall">In Time:</td>
					</tr>
					<tr>
						<td>
							<div class="SZPSmall">dd</div>
							<input name="idate" type="text" value="" style="width:25px" size="1" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">MMM</div>
							<select name="imon">
								<option value="0">Jan</option>
								<option value="1">Feb</option>
								<option value="2">Mar</option>
								<option value="3">Apr</option>
								<option value="4">May</option>
								<option value="5">Jun</option>
								<option value="6">Jul</option>
								<option value="7">Aug</option>
								<option value="8">Sep</option>
								<option value="9">Oct</option>
								<option value="10">Nov</option>
								<option value="11">Dec</option>
							</select>
						</td>
						<td>
							<div class="SZPSmall">yyyy</div>
							<input name="iyear" type="text" value="" size="2" maxlength="4"/>
						</td>
						<td>
							<div class="SZPSmall">HH</div>
							<input name="ihour" type="text" value="00" style="width:25px" size="1" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">mm</div>
							<input name="imin" type="text" value="00" style="width:25px" size="1" maxlength="2"/>
						</td>
					</tr>
					<tr>
						<td colspan="5" class="SZPSmall">Out Time:</td>
					</tr>
					<tr>
						<td>
							<div class="SZPSmall">dd</div>
							<input name="odate" type="text" value="" style="width:25px" size="1" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">MMM</div>
							<select name="omon">
								<option value="0">Jan</option>
								<option value="1">Feb</option>
								<option value="2">Mar</option>
								<option value="3">Apr</option>
								<option value="4">May</option>
								<option value="5">Jun</option>
								<option value="6">Jul</option>
								<option value="7">Aug</option>
								<option value="8">Sep</option>
								<option value="9">Oct</option>
								<option value="10">Nov</option>
								<option value="11">Dec</option>
							</select>
						</td>
						<td>
							<div class="SZPSmall">yyyy</div>
							<input name="oyear" type="text" value="" size="2" maxlength="4"/>
						</td>
						<td>
							<div class="SZPSmall">HH</div>
							<input name="ohour" type="text" value="00" style="width:25px" size="1" maxlength="2"/>
						</td>
						<td>
							<div class="SZPSmall">mm</div>
							<input name="omin" type="text" value="00" style="width:25px" size="1" maxlength="2"/>
						</td>
					</tr>
					<tr>
						<td colspan="5" class="SZPSmall">NOTE:</td>
					</tr>
					<tr>
						<td colspan="5">
							<input name="note" type="text" value="" maxlength="50" style="width:100%"/>
							<div class="SZPSmall">clear logs weekly if you are adding notes</div>
						</td>
					</tr>
					<tr>
						<td colspan="5" align="center"><input type="submit" class="submit" value="Save" onclick="SZP.svNew(this.form);"/></td>
					</tr>
				</table>
				</div>
				</form>
			</div>

		<div>
			<table width="100%" id="_mainT">
				<tbody id="_main" style="display:;">
				</tbody>
			</table>
		</div>

	</div>
</body>
</html>